#ifndef CLIENT_H
#define CLIENT_H

#include <QObject>
#include <QString>
#include <map>

#include "tcpclient.h"

class Client : public QObject
{
    Q_OBJECT

public:
    explicit Client(QObject *parent = 0);
    void connectToHost(QString ip, short port);
    void disconnectFromHost();
    void reg();
    void authenticate();
    void logout();
    void addContact();
private:
    TCPClient *_tcpClient;
};

#endif // CLIENT_H
